home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
BARNET
/
FREENET
/
BRODIE
/
AUTODNS_
/
ReadMe1st
< prev
Wrap
Text File
|
1996-06-26
|
3KB
|
81 lines
AutoDNS
Copyright & Disclaimer
----------------------
This program is copyright (C) Stewart Brodie, 1996.
The author accepts no liability for any damage or loss of any kind incurred,
or allegedly incurred, by the use, or misuse, of this software. The program
may do its absolute best to ensure that the data returned is accurate, but
you use the information at your own risk.
Having said all that, I do want people to use it and find any problems. I'm
afraid that some people's attitude make all those disclaimers necessary. For
normal usage, there shouldn't be any problem, and the program tries very hard
indeed to give you the correct information.
Syntax
------
autodns <domain> <[server1] <[server2] ... >>
This program searches the Domain Name System (DNS) for the authority nameservers
for the given <domain>. It does not require any configuration files to be set up
(not even resconf) in order to do so, as it has built-in knowledge of the internet
root nameservers and recursively searches for the answer from those starting
points.
Sample output from "autodns demon.co.uk"
--Start quote
AutoDNS (C) Stewart Brodie, Jun 26 1996
Searching for nameservers for `demon.co.uk.'
Trying 198.41.0.4 (a.root-servers.net)
Trying 128.86.8.25 (SUN.MHS-RELAY.AC.UK)
I found 3 authority nameservers (in no particular order):
158.152.1.65 (ns0.demon.co.uk)
158.152.1.193 (ns1.demon.co.uk)
154.32.105.34 (SEC1.DNS.UK.PSI.NET)
This program makes no guarantees about the correctness
or otherwise of the information provided.
--End quote
Now as you can see, these are NOT the correct customer nameservers for
Demon customers. However, it would get them up & running with a working
DNS configuration. (Of course Acornet is aware of the correct nameservers
to use).
Hostname lookups
----------------
When IP addresses are printed, hostnames accompany them where available. The
availability of hostnames is incidental (they are cached from the NS records)
and no specific lookup is performed to resolve the name of a unnamed host.
Firewalled sites
----------------
This won't work on sites which are firewalled from the Internet root servers.
I may add a facility to search for local nameservers on Ethernet networks.
Security concerns
-----------------
This program is vulnerable to IP address spoofing. It trusts information it
receives from machines in the root-servers.net domain absolutely, and trusts
any machines to which it is referred by root-servers.net. However, any such
attacks are not spread to the rest of the system, since the program talks
directly to each server involved, and only asks that server for information
for which it is the authoriy (except for root-servers.net)
Any incorrect information returned by spoofing hosts will be discarded when
the program exits and won't be cached by any other servers.
--END